In queueing theory, a discipline within the mathematical theory of probability, a M/G/1 queue represents the queue length in a system having a single server, where arrivals are detemined by a Poisson process and job service times can have an arbitrary distribution. The model name is written in Kendall's notation, and is an extension of the M/M/1 queue, where service times must be exponentially distributed. The classic application of the M/G/1 queue is to model performance of a fixed head hard disk.[1]
Contents |
A queue represented by a M/G/1 queue is a stochastic process whose state space is the set {0,1,2,3...}, where the value corresponds to the number of members in the queue, including any being served. Transitions from state i to i + 1 represent the arrival of a new queue member: the times between such arrivals have an exponential distribution with parameter λ. Transitions from state i to i − 1 represent a member who has been being served, fininshing being served and departing: the length of time required for serving an individual queue member has a general distribution function. The lengths of times between arrivals and of service periods are random variables which are assumed to be statistically independent.
The probability generating function of the stationary queue length distribution is given by the Pollaczek–Khinchine transform equation[1]
where and is the Laplace–Stieltjes transform of the service time distribution function. This can be found either using by direct computation or using the method of supplementary variables. The Pollaczek–Khinchine formula gives the mean queue length and mean waiting time in the system.[2][3]
The busy period is the time spent in states 1, 2, 3,… between visits to the state 0. The expected length of a busy period is 1/(μ−λ) where μ is the expected length of service time and λ the rate of the Poisson process governing arrivals.[4]
As the arrivals are determined by a Poisson process, the arrival theorem holds.
Consider the embedded Markov chain of the M/G/1 queue, where the time points selected are immediately after departure instants. The customer being served (if there is one) has received zero seconds of service. Between departures, there can be 0, 1, 2, 3,… arrivals. So from state i the chain can move to state i – 1, i, i + 1, i + 2, ….[5] The embedded Markov chain has transition matrix
where
and F(u) is the service time distribution and λ the Poisson arrival rate of jobs to the queue. Markov chains with generator matrices or block matrices of this form are called M/G/1 type Markov chains.[6]
Results for an extended version of this problem with k > 1 servers remains an open problem.[7] In this model arrivals are determined by a Poisson process and jobs can be served by any one of k servers. Tijms et al believe it is "not likely that computationally tractable methods can be developed to compute the exact numerical values of the steady-state probability in the M/G/k queue."[8]
Various approximations for the average queue size and average delay a job experiences have been offered by different authors.[8]